#include "programtable.h"

#include <QKeyEvent>

ProgramTable::ProgramTable(QWidget* parent):
        QTableView(parent)
{
}

void ProgramTable::keyPressEvent(QKeyEvent* event)
{
    switch (event->key()) {
    case Qt::Key_Left:
    case Qt::Key_Right:
        event->ignore();
        return;
    }

    QTableView::keyPressEvent(event);
}
